package com.atguigu05._super;

public class Person {
    String name="li";
     int age;
     int id=1;
     public Person(){  //父类的空参构造器
         System.out.println("person..........");
     }
     public Person(String name,int age){
         System.out.println("带参构造器");
     }
    public void eat(){
        System.out.println("eating");
    }
    public void Sleep(){
        System.out.println("sleeping");
    }



}
